import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { Role } from '../role/role.entity'
import { RoleService } from '../role/role.service'
import { User } from '../user/user.entity'
import { MenuController } from './menu.controller'
import { Menu } from './menu.entity'
import { MenuService } from './menu.service'

@Module({
  imports: [TypeOrmModule.forFeature([Menu, Role, User])],
  controllers: [MenuController],
  providers: [MenuService, RoleService],
})
export class MenuModule {}
